package com.rongke.mapper;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.rongke.model.Orders;
import com.baomidou.mybatisplus.mapper.BaseMapper;

import java.util.List;
import java.util.Map;

/**
 * @OrdersMapper
 * @订单Mapper
 * @version : Ver 1.0
 */
public interface OrdersMapper extends BaseMapper<Orders>{

    List<Orders>  selectByCondition(Orders orders);

    List<Orders> selectOrderListWithCondition(Map condition);

    List<Map> selectBuyTogehterList(Map map);

    Integer selectBuyTogehterListSize(Map map);

    Integer selectOrderListSize(Map condition);
}
